package com.guang.springbootscheduleexecutortest.dao.dao.entity;

import java.io.Serializable;
import java.util.Date;

public class DistributedLockRecord implements Serializable {

    private static final long serialVersionUID = -3304312411574666869L;

    private String lockKey;

    private String threadName;

    private String uuid;

    private Date lockTimeOut;

    private Integer version;

    private String machineIp;

    private String machinePort;

    public String getLockKey() {
        return lockKey;
    }

    public void setLockKey(String lockKey) {
        this.lockKey = lockKey == null ? null : lockKey.trim();
    }

    public String getThreadName() {
        return threadName;
    }

    public void setThreadName(String threadName) {
        this.threadName = threadName == null ? null : threadName.trim();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public Date getLockTimeOut() {
        return lockTimeOut;
    }

    public void setLockTimeOut(Date lockTimeOut) {
        this.lockTimeOut = lockTimeOut;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getMachineIp() {
        return machineIp;
    }

    public void setMachineIp(String machineIp) {
        this.machineIp = machineIp == null ? null : machineIp.trim();
    }

    public String getMachinePort() {
        return machinePort;
    }

    public void setMachinePort(String machinePort) {
        this.machinePort = machinePort == null ? null : machinePort.trim();
    }
}